package cn.wym.ymbill

import org.mybatis.spring.annotation.MapperScan
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication

@MapperScan(basePackages = ["cn.wym.ymbill.mapper"])
//ComponentScan做的事情就是告诉Spring从哪里找到bean // TODO 这里要看been的概念是不是只包括实体类了
//@ComponentScan(basePackages = ["cn.wym.ymbill.model"])
@SpringBootApplication
class YmBillApplication

fun main(args: Array<String>) {
    runApplication<YmBillApplication>(*args)
}
